package com.neusoft.yuejian_6.service;

import com.neusoft.yuejian_6.javabean.Club;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by Q on 2017/10/17.
 */

public interface ClubService {
    @GET("Clubs/getClubs")
    Call<List<Club>> getAllClubs();

    @GET("Clubs/Clubsdetail")
    Call< Club> getClubById(
            @Query("club_id") int club_id

    );

    @GET("Clubs/SearchClub")
    Call<List<Club>>searchClub(@Query("club_name") String club_name);

}
